<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
		<c:set var="pagenum" value="${not empty sessionScope.page_num }" />
		<c:if test="${pagenum }">
			<a href="GetUsersByPage?num=1">
					首页
				</a>
			<c:forEach var="x" begin="1" end="${sessionScope.page_num }">
				<a href="GetUsersByPage?num=${x}">
					第${x}页
				</a>
			
			</c:forEach>
		<a href="GetUsersByPage?num=${sessionScope.page_num }">
					尾页
				</a>
		
		
		</c:if>
</body>
</html>